package com.ck.javacode.Chapter8.extend_;

public class ExtendsDetail {
    public static void main(String[] args) {
        Sub sub = new Sub();
        System.out.println("===");
        Sub sub2 = new Sub("JACK");
//        sub.sayOk();
        System.out.println("===");
        Sub sub3 = new Sub("king",10);
    }
}
